//
//  SingleNewsCell.h
//  SouthChina
//
//  Created by creator_lq on 14/12/24.
//  Copyright (c) 2014年 科创. All rights reserved.
//


#define NEW_CELL_COM_GAP 6   //所有的间隔距离
#define TITLE_HEIGHT 20
#define TIME_HEIGHT 20
#define IMAGE_HEIGHT 150
#define CONTENT_HEIGHT 35
#define LOOK_HEIGHT 20

#define SINGLE_NEWS_CELL (NEW_CELL_COM_GAP+TITLE_HEIGHT+TIME_HEIGHT+IMAGE_HEIGHT+CONTENT_HEIGHT+LOOK_HEIGHT+8*NEW_CELL_COM_GAP)


#import <UIKit/UIKit.h>

@interface SingleNewsCell : UITableViewCell


@property (retain, nonatomic) UIView * allcontentView;  //时间栏

@property (retain, nonatomic) UILabel * titleLabel; //标题栏
@property (retain, nonatomic) UILabel * timeLabel;  //时间栏

@property (retain, nonatomic) UIImageView * myIamgeView; //图片


@property (retain, nonatomic) UILabel * contentLable;  //内容
@property (retain, nonatomic) UILabel * lookLabel;  //查看全文

@property (retain, nonatomic) Message * message;
@property (retain, nonatomic) NSString * publicId;

@property (retain, nonatomic) UIImageView * backgroundImage; //背景



-(void) setMsgCellValue:(Message*)msg publicId:(NSString*)publicId;

@end
